package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.UsageLog;
import com.tbit.uqbike.object.pojo.vo.UsageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author <a href="mailto:liu.haoxiang@tbit.com.cn">BUGXiang</a>
 * @version 1.0
 * @since 2024-10-18
 */
@DS(DataSource.LOG)
public interface UsageRemindDao extends BaseMapper<UsageLog> {

    /**
     * 品牌id获取使用提醒信息
     * @param brandId 品牌id
     * @return List
     */
    List<UsageVO> selectUsage(@Param("brandId") Integer brandId);
}
